import { EChartsOption } from "echarts"
import { GeoJSONSourceInput } from "echarts/types/src/coord/geo/geoTypes.js"

export interface IProps {
  mapId: string
  mapData: GeoJSONSourceInput
  options: EChartsOption
  width?: string
  height?: string
  theme?: string
  resizeDelay?: number

  // 事件
  handleClick?: <T>(params: T) => void 
  handleMouseOver?: <T>(params: T) => void
}